<template>
    <div>
        <router-view></router-view>
    </div>
</template>

<script>
// import { getGoodsList } from './api/product'
export default {
    name: "App",
    // 不规范写法：从根组件获取接口数据上传到vuex的mutation
    //   async created () {
    //     const res = await getGoodsList()
    //     this.$store.commit('getList', res.data.result.rows)
    //   },
};
</script>

<style lang="scss">
</style>
